package com.vcc.service.service;

import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;
import com.vcc.data.entity.EnterpriseCertInfo;
import com.vcc.service.boss.request.kyc.AuditKycDto;
import com.vcc.service.client.vo.kyc.kyb.EnterpriseCertInfoVo;

public interface EnterpriseCertInfoService extends IService<EnterpriseCertInfo> {

    EnterpriseCertInfoVo getById(Long id);

    EnterpriseCertInfo getByUserId(Long userId);

    EnterpriseCertInfoVo getEnterpriseCertInfoVoByUserId(Long userId);

    Boolean existsByUserId(Long userId);

    Page<EnterpriseCertInfoVo> paging(Page<EnterpriseCertInfo> pageable, Integer status, String certName, Long targetUserId);

    Boolean audit(AuditKycDto auditKycDto);

    Boolean removeByUserId(Long userId);
}
